package cn.edu.jxau.service;

import cn.edu.jxau.dao.UserDao;
import cn.edu.jxau.domain.user;

public class checkMessage {
	private UserDao userdao = new UserDao();
	public  user checkInfo(String username) {
		user user = userdao.findByUsername(username);
		return user;
	}
	public  void updataState(String username,String state){
		
		userdao.updataState(username,state);
	}
}
